Skip to content

Replace TouchTargetRule with TouchTargetOverlapRule - #15

Merged
mohdaquib merged 3 commits into
mainfrom
feature/overlap-rule-impl
Jul 23, 2026
Merged

Replace TouchTargetRule with TouchTargetOverlapRule#15
mohdaquib merged 3 commits into
mainfrom
feature/overlap-rule-impl

Conversation

@mohdaquib

Copy link
Copy Markdown
Owner
  • Remove TouchTargetRule and DpSize model in favor of TouchTargetOverlapRule.
  • Update A11yNode to store effectiveTouchBounds in pixels instead of touchTargetSize in dp.
  • Implement TouchTargetOverlapRule to detect and report overlapping interactive hit regions.
  • Remove density requirements from A11yScanner and A11yNodeExtractor as dp conversion is no longer needed for touch target evaluation.
  • Update ScannerConfig and Android manifest metadata to remove minTouchTargetDp configuration.
  • Update documentation and sample application to reflect the shift from target size to target overlap validation.

- Remove `TouchTargetRule` and `DpSize` model in favor of `TouchTargetOverlapRule`.
- Update `A11yNode` to store `effectiveTouchBounds` in pixels instead of `touchTargetSize` in dp.
- Implement `TouchTargetOverlapRule` to detect and report overlapping interactive hit regions.
- Remove density requirements from `A11yScanner` and `A11yNodeExtractor` as dp conversion is no longer needed for touch target evaluation.
- Update `ScannerConfig` and Android manifest metadata to remove `minTouchTargetDp` configuration.
- Update documentation and sample application to reflect the shift from target size to target overlap validation.
- Remove `TouchTargetRule` and `DpSize` model in favor of `TouchTargetOverlapRule`.
- Update `A11yNode` to store `effectiveTouchBounds` in pixels instead of `touchTargetSize` in dp.
- Implement `TouchTargetOverlapRule` to detect and report overlapping interactive hit regions.
- Remove density requirements from `A11yScanner` and `A11yNodeExtractor` as dp conversion is no longer needed for touch target evaluation.
- Update `ScannerConfig` and Android manifest metadata to remove `minTouchTargetDp` configuration.
- Update documentation and sample application to reflect the shift from target size to target overlap validation.
@mohdaquib
mohdaquib merged commit ae7b57e into main Jul 23, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant